visualizing deep learning
Towards Explainable Artificial Intelligence
Samek, Wojciech, Müller, Klaus-Robert
In recent years, machine learning (ML) has become a key enabling technology for the sciences and industry. Especially through improvements in methodology, the availability of large databases and increased computational power, today's ML algorithms are able to achieve excellent performance (at times even exceeding the human level) on an increasing number of complex tasks. Deep learning models are at the forefront of this development. However, due to their nested non-linear structure, these powerful models have been generally considered "black boxes", not providing any information about what exactly makes them arrive at their predictions. Since in many applications, e.g., in the medical domain, such lack of transparency may be not acceptable, the development of methods for visualizing, explaining and interpreting deep learning models has recently attracted increasing attention. This introductory paper presents recent developments and applications in this field and makes a plea for a wider use of explainable learning algorithms in practice.
Explainable AI: Interpreting, Explaining and Visualizing Deep Learning
The development of "intelligent" systems that can take decisions and perform autonomously might lead to faster and more consistent decisions. A limiting factor for a broader adoption of AI technology is the inherent risks that come with giving up human control and oversight to "intelligent" machines. Forsensitive tasks involving critical infrastructures and affecting human well-being or health, it is crucial to limit the possibility of improper, non-robust and unsafe decisions and actions. Before deploying an AI system, we see a strong need to validate its behavior, and thus establish guarantees that it will continue to perform as expected when deployed in a real-world environment. In pursuit of that objective, ways for humans to verify the agreement between the AI decision structure and their own ground-truth knowledge have been explored.
Visualizing Deep Learning
The following is a visualization of the neural network described in this blog post: Basic Python Network Here is the implementation of the network that this page uses: MultiLayer.ts For a simpler single layer network see here: SingleLayer.ts Both networks rely on only vanilla JavaScript and a simple matrix library I put together: MatrixUtil.ts The defaulted iteration count is 10 to prevent the page from executing too many calculations on first load. You should be able to get accurate results by setting the iteration count to 10000.